package com.hdax.dm.entity.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dm.entity.BaseTimeEntity;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(schema = "dm_user", value = "dm_user")
public class DmUser extends BaseTimeEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String phone;
    private String password;
    private String wxUserId;
    private String realName;
    private String nickName;
    private String sex;
    private String hobby;
    private String idCard;
    private LocalDateTime birthday;
}
